-- Rogue Rage
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program.  If not, see <http://www.gnu.org/licenses/>.
--
-- Darren Grey
-- http://gruesomegames.com

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "blob",
	display = "J", color={r=220,g=20,b=230},
	image="blob.png",
    desc = [[A blob of demonic jam.]],
    ai = "dumb_talented_simple",
	name = "blob",
	level_range = {1, 9},
	rarity = 4,
	max_life = 5,
	power = 2,
	armour = 0,
	speed = -5,
	aim = 0,
	dodge = -rng.range(1,8),
	--life_regen = 4,
    sight = 6,
	score = 5,
	--ranged = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "jam",
	display = "J", color={r=220,g=20,b=20},
	image="strawberry.png",
    desc = [[Strawberry jam.]],
    ai = "dumb_talented_simple",
	name = "strawberry jam",
	level_range = {2, 15},
	rarity = 4,
	max_life = 8,
	power = 2,
	armour = 0,
	speed = -3,
	aim = 0,
	dodge = -2,
	--life_regen = 4,
    sight = 6,
	score = 10,
	--ranged = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "marmalade",
	image="marmalade.png",
	display = "M", color={r=250,g=180,b=20},
    desc = [[Orange flavoured.]],
    ai = "dumb_talented_simple",
	name = "marmalade",
	level_range = {4, 20},
	rarity = 4,
	max_life = 8,
	power = 3,
	armour = 0,
	speed = -3,
	aim = 0,
	dodge = -2,
	--life_regen = 4,
    sight = 6,
	score = 15,
	--ranged = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "preserve",
	display = "O", color={r=250,g=180,b=80},
	image="apricot.png",
    desc = [[There always seems more of it than you expect.]],
    ai = "dumb_talented_simple",
	name = "apricot preserve",
	level_range = {6, 100},
	rarity = 4,
	max_life = 20,
	power = 4,
	armour = 0,
	speed = -5,
	aim = 2,
	dodge = -1,
	life_regen = 1,
    sight = 6,
	score = 25,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "biscuit",
	display = "O", color={r=230,g=160,b=80},
	image="jammie_dodger.png",
    desc = [[Jammie and biscuity.]],
    ai = "dumb_talented_simple",
	name = "jammie dodger",
	level_range = {5, 100},
	rarity = 4,
	max_life = 3,
	power = 2,
	armour = 0,
	speed = 3,
	aim = 2,
	dodge = 3,
	--life_regen = 4,
    sight = 6,
	score = 30,
	ranged = true,
	ranged_dist = 3,
	annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "jam",
	display = "O", color={r=40,g=0,b=130},
	image="blackcurrant.png",
    desc = [[Full and fruity flavour.]],
    ai = "dumb_talented_simple",
	name = "blackcurrant jam",
	level_range = {10, 100},
	rarity = 4,
	max_life = 10,
	power = 4,
	armour = 1,
	speed = 1,
	aim = 1,
	dodge = 0,
	--life_regen = 4,
    sight = 6,
	score = 30,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "jam",
	display = "O", color={r=60,g=10,b=160},
	image="blueberry.png",
    desc = [[Lovely fruity lumps.]],
    ai = "dumb_talented_simple",
	name = "blueberry jam",
	level_range = {12, 100},
	rarity = 4,
	max_life = 6,
	power = 6,
	armour = 0,
	speed = 2,
	aim = -1,
	dodge = 2,
	--life_regen = 4,
    sight = 6,
	score = 35,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "demon",
	display = "O", color={r=80,g=0,b=80},
	image="demon_jam.png",
    desc = [[A demonically possessed jam.]],
    ai = "dumb_talented_simple",
	name = "demon jam",
	level_range = {20, 100},
	rarity = 10,
	max_life = 50,
	power = 10,
	armour = 5,
	speed = 5,
	aim = 5,
	dodge = 4,
	--life_regen = 4,
    sight = 8,
	score = 150,
	can_pass = {pass_wall=1},
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "evil",
	display = "O", color={r=0,g=0,b=0},
	image="evil.png",
    desc = [[A truly evil and befouled jam.]],
    ai = "dumb_talented_simple",
	name = "evil jam",
	level_range = {18, 100},
	rarity = 8,
	max_life = 25,
	power = 8,
	armour = 3,
	speed = 2,
	aim = 4,
	dodge = 2,
	life_regen = 1,
    sight = 8,
	score = 100,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "jam",
	display = "O", color={r=20,g=180,b=20},
	image="fat_jam.png",
    desc = [[Bloated, rotten jam.]],
    ai = "dumb_talented_simple",
	name = "fat jam",
	level_range = {12, 100},
	rarity = 10,
	max_life = 24,
	power = 6,
	armour = 2,
	speed = -rng.range(3,6),
	aim = -2,
	dodge = -5,
	--life_regen = 4,
    sight = 8,
	score = 50,
	pushy = 1,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "ghost",
	display = "O", color={r=180,g=180,b=250},
	image="ghost_jam.png",
    desc = [[Ethereal tasting spread. Low on calories.]],
    ai = "dumb_talented_simple",
	name = "ghost_jam",
	level_range = {10, 100},
	rarity = 6,
	max_life = 8,
	power = 5,
	armour = -1,
	speed = 3,
	aim = 4,
	dodge = 4,
	--life_regen = 4,
    sight = 6,
	score = 40,
	can_pass = {pass_wall=1},
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "jam",
	display = "O", color={r=120,g=230,b=60},
	image="gooseberry.png",
    desc = [[A very strange jam. Just smile and be polite...]],
    ai = "dumb_talented_simple",
	name = "gooseberry",
	level_range = {11, 100},
	rarity = 6,
	max_life = 12,
	power = 4,
	armour = 4,
	speed = 0,
	aim = 2,
	dodge = -2,
	--life_regen = 4,
    sight = 6,
	score = 30,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "jelly",
	display = "O", color={r=80,g=250,b=80},
	image="lime.png",
    desc = [[Sharp flavours.]],
    ai = "dumb_talented_simple",
	name = "lime jelly",
	level_range = {14, 100},
	rarity = 7,
	max_life = 8,
	power = 5,
	armour = 0,
	speed = 3,
	aim = 4,
	dodge = 2,
	--life_regen = 4,
    sight = 6,
	score = 40,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "jam",
	display = "O", color={r=250,g=180,b=180},
	image="rose.png",
    desc = [[Fragrant but not acually very nice.]],
    ai = "dumb_talented_simple",
	name = "rose jam",
	level_range = {8, 100},
	rarity = 5,
	max_life = 10,
	power = 3,
	armour = 1,
	speed = 2,
	aim = 2,
	dodge = 4,
	--life_regen = 4,
    sight = 6,
	score = 30,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "jam",
	display = "O", color={r=210,g=80,b=80},
	image="seeded_raspberry.png",
    desc = [[Agh, the seeds, they hurt me so!]],
    ai = "dumb_talented_simple",
	name = "seeded raspberry jam",
	level_range = {9, 100},
	rarity = 6,
	max_life = 10,
	power = 4,
	armour = 3,
	speed = 0,
	aim = 2,
	dodge = 0,
	return_damage = 1,
	--life_regen = 4,
    sight = 6,
	score = 40,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "jam",
	display = "J", color={r=60,g=0,b=0},
	image="vampire_jam.png",
    desc = [[The preserve that bites back!]],
    ai = "dumb_talented_simple",
	name = "vampire jam",
	level_range = {14, 100},
	rarity = 8,
	max_life = 15,
	power = 5,
	armour = 1,
	speed = 2,
	aim = 4,
	dodge = 0,
	vampiric = 1,
	--life_regen = 4,
    sight = 6,
	score = 60,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}

newEntity{ define_as = "JAM",
    type = "jam",
	subtype = "jam",
	display = "J", color={r=210,g=60,b=240},
	image="jumping_jam.png",
    desc = [[A mobile jam with a light and bouncy flavour.]],
    ai = "dumb_talented_simple",
	name = "jumping jam",
	level_range = {8, 100},
	rarity = 8,
	max_life = 10,
	power = 4,
	armour = 1,
	speed = 2,
	aim = 4,
	dodge = 0,
	jumping = 1,
	--life_regen = 4,
    sight = 6,
	score = 25,
	--ranged = true,
	--ranged_dist = 3,
	--annoying = true,
}